﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace ProductManService
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Product_Service" in code, svc and config file together.
    public class Product_Service : IProduct_Service
    {
        ProductRepository prod_repo = new ProductRepository();
        public Category GetCategoryByProduct(int prod_id)
        {
            return prod_repo.GetCategoryByProductId(prod_id);
        }
    }
}
